/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bancoDeDados;

import java.sql.SQLException;
import regraDeNegocio.RNSala;

/**
 *
 * @author Gean
 */
public class BDSala {
    
    public void insertBD(RNSala sala) throws SQLException{
        Conexao c = new Conexao();
         c.insert("INSERT INTO sala (idpredio, nomesala, utilizacao) VALUES ('"+sala.getPredio()+"','"+sala.getNome()+"','"+sala.getUtilizacao()+"')");
    }
}
